os cript e akele que vc posto mesmo mais tava pensando em por exasted pra nao fica span muita gente faando al mesmo tempo
>>> sim so premium podem usar
Por MatheusGlad, 08 de jun. de 2010 em Actions e Talkactions
os cript e akele que vc posto mesmo mais tava pensando em por exasted pra nao fica span muita gente faando al mesmo tempo
>>> sim so premium podem usar
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino

tent assim
function onSay(cid, words, param)
local config = {
premium = true,
cobrar = true,
price = 1000,
storage = 87845, -- n mexa
exausted = 60 -- em segundos
}
if param == "" or not param then
doPlayerSendCancel(cid,"digite sua mensagem.") return true
elseif config.premium == true and not isPremium(cid) then
doPlayerSendCancel(cid,"Você não é premium.") return true
elseif getPlayerStorageValue(cid, config.storage) >= os.time() then
doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, config.storage) - os.time() .. " segundos para mandar outra mensagem.") return true
elseif config.cobrar == true and not doPlayerRemoveMoney(cid, config.price) then
doPlayerSendCancel(cid,"Você não tem "..config.price.." gps para mandar uma mensagem.") return true
end
doBroadcastMessage(""..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", MESSAGE_INFO_DESCR)
setPlayerStorageValue(cid, config.storage, os.time()+config.exausted)
return TRUE
end
nossa vlw perfect funfo legal aki seu rep ja ta guardado hoje nao posso mais pois dei para o otro ali pela forsa de vontade de tentar ajudar
vodika tem algum script que vc noa saiba .asUASUAUSUASUSHUSHU
http://www.xtibia.com/forum/topic/182494-aure-bunus-plx/ <<< tem como me ajuda con essa duvida tbm ?
info
Grupo: Campones
Registrado: 29/12/08
Posts: 49
Reputação: +3
Char no Tibia: black levon

Malz por reviver mais como coloco pra "x" Level pd mandar a msg ?
e tem como mudar as msg por classes ?
kina: cor orange
pally: cor blue
sorc: cor white
druid: cor green
Obrigado !
a sua script me salvo
vlw !
Da sim mais não sei as cores das mensagem você modifica ai bl?
function onSay(cid, words, param)local config = {
premium = true,
cobrar = true,
price = 1000,
storage = 87845, -- n mexa
exausted = 60 -- em segundos
}
local array = { --- vocação, cor da mensagem
[1] = 12,
[2] = 12,
[3] = 12,
[4] = 12,
[5] = 12,
[6] = 12,
[7] = 12,
[8] = 12
}
if param == "" or not param then
doPlayerSendCancel(cid,"digite sua mensagem.") return true
elseif config.premium == true and not isPremium(cid) then
doPlayerSendCancel(cid,"Você não é premium.") return true
elseif getPlayerStorageValue(cid, config.storage) >= os.time() then
doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, config.storage) - os.time() .. " segundos para mandar outra mensagem.") return true
elseif config.cobrar == true and not doPlayerRemoveMoney(cid, config.price) then
doPlayerSendCancel(cid,"Você não tem "..config.price.." gps para mandar uma mensagem.") return true
end
doBroadcastMessage(""..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", array[getPlayerVocation(cid)])
setPlayerStorageValue(cid, config.storage, os.time()+config.exausted)
return TRUE
end
info
Grupo: Campones
Registrado: 07/09/09
Posts: 10
Reputação: +1
Char no Tibia: thiagao kinight

tent assim
function onSay(cid, words, param) local config = { premium = true, cobrar = true, price = 1000, storage = 87845, -- n mexa exausted = 60 -- em segundos } if param == "" or not param then doPlayerSendCancel(cid,"digite sua mensagem.") return true elseif config.premium == true and not isPremium(cid) then doPlayerSendCancel(cid,"Você não é premium.") return true elseif getPlayerStorageValue(cid, config.storage) >= os.time() then doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, config.storage) - os.time() .. " segundos para mandar outra mensagem.") return true elseif config.cobrar == true and not doPlayerRemoveMoney(cid, config.price) then doPlayerSendCancel(cid,"Você não tem "..config.price.." gps para mandar uma mensagem.") return true end doBroadcastMessage(""..getCreatureName(cid).." ["..getPlayerLevel(cid).."]: " .. param .. "", MESSAGE_INFO_DESCR) setPlayerStorageValue(cid, config.storage, os.time()+config.exausted) return TRUE end
LEK ME AJUDA AE O MEU E POR VIP , MAIS TIPO EU BOTO SOVIP , MAIS QUANDO OS VIP TENTA FALAR NO OT NAO CONSEGUEM , VEM UMA MSG E FALA QUE NAO SOU VIP ... POR QUE ISSU ?
SI ALGUEM SOUBER ME AJUDEM PF !
MALZ POR REVIVER O TOPICO É PQ PRECISO MUITO !
info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino
o seu é por vip ou por premium?